import server from "./server";

export const query = {
  pageSize:10,
  pageNum:1
}

export function getReviews() {
  return server({
    url:"/discuss/findAll",
    params:query
  });
}


export function getDeleteDis(id:number){
  return server({
    method:'POST',
    url:'/discuss/del/'+id
  })
}